package com.clayecloud.common.mappers;

import com.clayecloud.common.entity.User;
import org.apache.ibatis.annotations.Mapper;import java.util.List;

/**
 * @author ClayeLink
 * @date 2021/12/31 14:51
 */
@Mapper
public interface UserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> selectAll();

    User selectByMail(String userMail);

    User selectByPhone(String userPhone);
}